package com.dog.basics.bean.dto.netty;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @description: 公共通讯协议
 * @author: He
 * @date: Created in 2020/10/13 14:43
 * @version: 1.0
 * @modified By:
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class NettyCommonDto implements Serializable {

    private static final long serialVersionUID = 5418319017422866679L;
    /**
     * 消息类型 : 5-远程在线升级 6-远程重启 7-远程关机 8-远程自定义控制
     */
    private Integer msgType;

    /**
     * 设备标识
     */
    private Long devId;

    /**
     * 自定义数值
     */
    private Integer customVal;

    /**
     * 固件版本号
     */
    private String firmwareVersion;



}